package com.learn.spring5.mylearn;

public class HelloWorld {

    private String userName;


    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void sayHello(){
        System.out.println("欢迎来到spring:"+userName);
    }
}
